package com.jinsi.service;

import com.jinsi.pojo.ScStudentDefer;
import com.jinsi.pojo.ScStudentOperationLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StuDeferService {
    //添加学生减免信息
    public void addDefer(ScStudentDefer defer) throws Exception;
    //获取学生缓交信息
    public List<ScStudentDefer> getDefers();
    //根据到期日期查询信息
    public List<ScStudentDefer> getDeferByEndTime(Integer num);
    //删除学生缓交信息
    public void delDefer(Integer id) throws Exception;
    //根据用户输入信息进行筛选查询
    public List<ScStudentDefer> getDeferByLikeIdAndName(@Param("studentId") Integer studentId,
                                                               @Param("studentName") String studentName
    );
}
